<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/coverImageView"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:layout_marginHorizontal="16dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintDimensionRatio="5:4"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:src="@tools:sample/backgrounds/scenic" />

    <ImageButton
        android:id="@+id/playBtn"
        style="@style/Theme.Homework.ImageButton"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:contentDescription="@string/playImageButton"
        android:src="@drawable/ic_play_circle_24"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/coverImageView" />

    <ImageButton
        android:id="@+id/prevBtn"
        style="@style/Theme.Homework.ImageButton"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:layout_marginHorizontal="16dp"
        android:contentDescription="@string/previousImageButton"
        android:src="@drawable/ic_skip_previous_24"
        app:layout_constraintBottom_toBottomOf="@id/playBtn"
        app:layout_constraintRight_toLeftOf="@id/playBtn"
        app:layout_constraintTop_toBottomOf="@id/coverImageView" />

    <ImageButton
        android:id="@+id/nextBtn"
        style="@style/Theme.Homework.ImageButton"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:layout_marginHorizontal="16dp"
        android:contentDescription="@string/nextImageButton"
        android:src="@drawable/ic_skip_next_24"
        app:layout_constraintBottom_toBottomOf="@id/playBtn"
        app:layout_constraintLeft_toRightOf="@id/playBtn"
        app:layout_constraintTop_toTopOf="@id/playBtn" />

    <TextView
        android:id="@+id/author"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/authorText"
        app:layout_constraintBottom_toTopOf="@id/musicName"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/playBtn" />

    <TextView
        android:id="@+id/musicName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/musicName"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/author" />

</androidx.constraintlayout.widget.ConstraintLayout>